|
|
First of all, you have to define a seed by "#declare MySeed=seed
(AnyNumber)". (Substitute AnyNumber with any Number :-))
You get a pseudorandom-number between 0 and 1 by "rand(MySeed). As I read
it, MySeed is changed by this process, so you get another random Number in
the sequence if you use rand(MySeed) again. If you redeclare MySeed with
seed(AnyNumber) you start the sequence (or another if 'AnyNumber' is
different) again.
To narrow the range you can use
#declare MyRandomNumber=MyFloor+(rand(MySeed)/(MyCeilling-MyFloor));
with MyCeiling=1 and MyFloor=0.75 in your case.
Hope that helps,
Marc-Hendrik
Post a reply to this message
|
|